﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.Record;
using TyMES.Model;

namespace TyMES.ViewModel.Record.InnerAndOutRingRecordVMs
{
    public partial class InnerAndOutRingRecordTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._InnerAndOutRingRecord._InnerMFCode")]
        public ExcelPropety InnerMFCode_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.InnerMFCode);
        [Display(Name = "_Model._InnerAndOutRingRecord._InnerVSN")]
        public ExcelPropety InnerVSN_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.InnerVSN);
        [Display(Name = "_Model._InnerAndOutRingRecord._OutMFcode")]
        public ExcelPropety OutMFcode_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.OutMFcode);
        [Display(Name = "_Model._InnerAndOutRingRecord._OutVSN")]
        public ExcelPropety OutVSN_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.OutVSN);
        [Display(Name = "_Model._InnerAndOutRingRecord._MatchFlag")]
        public ExcelPropety MatchFlag_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.MatchFlag);
        [Display(Name = "_Model._InnerAndOutRingRecord._CreateTime")]
        public ExcelPropety CreateTime_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.CreateTime, true);
        [Display(Name = "_Model._InnerAndOutRingRecord._UpdateTime")]
        public ExcelPropety UpdateTime_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.UpdateTime, true);
        [Display(Name = "_Model._InnerAndOutRingRecord._CreateBy")]
        public ExcelPropety CreateBy_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.CreateBy);
        [Display(Name = "_Model._InnerAndOutRingRecord._UpdateBy")]
        public ExcelPropety UpdateBy_Excel = ExcelPropety.CreateProperty<InnerAndOutRingRecord>(x => x.UpdateBy);

	    protected override void InitVM()
        {
            
        }

    }

    public class InnerAndOutRingRecordImportVM : BaseImportVM<InnerAndOutRingRecordTemplateVM, InnerAndOutRingRecord>
    {
            //import

    }

}